<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>解构嵌套数组</title>

    <script>
        // 解构嵌套数组
        let [x, [y, [z]]] =[4, [5, [6]]]
        console.log(x, y, z);// 4 5 6
    </script>
</head>
<body>
    
</body>
</html>